package com.kgcx.schedule.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@FeignClient(name = "organization")
public interface ParkingClient {
    @GetMapping("airport/getAirportParkingList")
    List<AirportParking> getAirportParkingList(@RequestParam Map<String, Object> map);

    @GetMapping("station/getStationParkingList")
    List<StationParking> getStationParkingList(@RequestParam Map<String, Object> map);
}
